package com.changy.ai_tutor_for_dm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionsMultiple {
    /**
     * 关联questions表的 id，作为本表主键
     */
    private Long questionId;

    /**
     * 选项列表，JSON 格式，例如：[{"id":"A","text":"自反"},{"id":"B","text":"对称"},...]
     */
    private List<Option> optionlist;
    private String options;

    /**
     * 正确选项 id 列表，JSON 数组，例如：["A", "C"]
     */
    private List<String> correctOptionlist;
    private String correctOptions;

    /**
     * 答案解析，String
     */
    private String analysis;
}
